{extend name="AdminPublic/public"}
{block name="admin"}
<script type="text/javascript" charset="utf-8" src="/static/ueditor/ueditor.config.js"></script>
            <script type="text/javascript" charset="utf-8" src="/static/ueditor/ueditor.all.min.js"> </script>
            <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
            <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
        <script type="text/javascript" charset="utf-8" src="/static/ueditor/lang/zh-cn/zh-cn.js"></script>
  <div class="row"> 
   <div class="col-lg-12"> 
    <section class="panel"> 
     <header class="panel-heading"> 
      <span style="font-size:20px;">您的位置 :</span> 
      <span style="color:#65CEA7;">评价管理 > 评价回复</span> 
      <span class="tools pull-right"> <a href="javascript:;" class="fa fa-chevron-down"></a> <a href="javascript:;" class="fa fa-times"></a> </span> 
     </header> 
     <div class="panel-body"> 
      <div class=" form"> 
       <form class="cmxform form-horizontal adminex-form" id="commentForm" method="post" action="/adminevaluate/doreply" novalidate="novalidate">
        <input class=" form-control" id="cname" name="id" minlength="2" type="hidden" required="" value="{$evaluate[0]['id']}"/>
        <table class="table table-striped table-hover table-bordered dataTable" id="editable-sample" aria-describedby="editable-sample_info"> 
        <thead> 
         <tr role="row"> 
          <th class="sorting" role="columnheader" tabindex="0" aria-controls="editable-sample" rowspan="1" colspan="1" aria-label="Last Name: activate to sort column ascending" style="text-align:center;width: 100px;">评价内容</th> 
         </tr>

        </thead> 
        <tbody role="alert" aria-live="polite" aria-relevant="all"> 
         <tr class="even"> 
          <td class=" ">{$evaluate[0]['content']}</td> 
         </tr>
         <tr>
            <th class="sorting" role="columnheader" tabindex="0" aria-controls="editable-sample" rowspan="1" colspan="1" aria-label="Points: activate to sort column ascending" style="text-align:center;width: 178px;">回复内容</th>
         </tr>
         </tbody> 
       </table>
        <div class="form-group "> 
         <div class="col-lg-10">
          <script id="editor" type="text/plain"  name="reply" style="width:1010px;height:200px;">
            {$evaluate[0]['reply']}
          </script> 
            <script type="text/javascript">
                 //实例化编辑器
                 //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
                 var ue = UE.getEditor('editor');
            </script>
         </div> 
        </div> 
        <div class="form-group"> 
         <div class=" col-lg-10"> 
          <button class="btn btn-primary" type="submit">提交</button> 
         </div> 
        </div> 
       </form> 
      </div> 
     </div> 
    </section> 
   </div> 
  </div>
{/block}